package com.nsl.my_youlai.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;


@Data
public class DeptVO {


    private Long id;


    private Long parentId;


    private String name;


    private Integer sort;


    private Integer status;


    private List<DeptVO> children;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime updateTime;

}
